
public class Dollar {
    private double value;

    public Dollar(double value) {
        this.value = value;
    }
    public boolean equals(Euro euro){

        return ((euro.getValue() * 1.35) == this.value);
    }
}
